<%- include header %>
<% posts.forEach(function (post, index) { %>
<div class="list card">
    <div class="item item-avatar" style="background-color: lightblue;height:50px;padding-top:3px;" >
        <img src="tx.jpg">
        <h2 style="color:red;font-size: 25px;cursor: pointer"><%= post.title %></h2>
        <p class="info" style="margin-top: 15px">
            作者：<a style="color:cornflowerblue;cursor: pointer"><%= post.name %></a> |
            日期：<%= post.time.minute %>
        </p>
    </div>
    <div class="item item-body">
        <img class="full-image" src="tx.jpg" style="width:100px;height:100px;">
        <p><%- post.post %></p>
        <p><a href="#" class="subdued">1 赞</a><a href="#" class="subdued">5 评论</a></p>
    </div>
    <div class="item tabs tabs-secondary tabs-icon-left">
        <a class="tab-item" href="#"><i class="icon ion-thumbsup"></i>赞</a>
        <a class="tab-item" href="#"><i class="icon ion-chatbox"></i>评论</a>
        <a class="tab-item" href="#"><i class="icon ion-share"></i>分享</a>
    </div>
</div>
<% }) %>
<%- include footer %>
